package net.lab1024.sa.admin.module.upstream.product.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = false)
@Data
public class ProductUpdateForm extends ProductAddForm {

    @Schema(description = "产品id")
    @NotNull(message = "产品id不能为空")
    private Integer productId;
}
